﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevComponents.DotNetBar;
namespace _22_BanVeGaSaiGon
{
    public partial class Frm01_NVBV_DatVe : Office2007Form
    {
        //public delegate string ThongTinMaTau(string maTau);
        //public ThongTinMaTau Sender;
        private string maTau;

        public string MaTau
        {
            get { return maTau; }
            set { maTau = value; }
        }
        public Frm01_NVBV_DatVe()
        {
            InitializeComponent();
            //Sender = new ThongTinMaTau(LayMaTau);
        }

        private void Frm01_NVBV_DatVe_Load(object sender, EventArgs e)
        {
            DanhSachGhe();
        }
        private void DanhSachGhe()
        {
            DataTable dt = new DataTable();
            XuLy_NhanVienVanVe xl = new XuLy_NhanVienVanVe();
            dt = xl.DanhSachGhe(maTau);
            dtgDanhSachGhe.DataSource = dt;
        }

        private void btnHuy_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
